package com.qdc.datacenters.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qdc.datacenters.domain.query.chatmsg.ChatMsgListQuery;
import com.qdc.datacenters.domain.query.user.CorpPermitUserQuery;
import com.qdc.datacenters.domain.vo.chatmsg.ChatMsgUserListVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.qdc.datacenters.domain.entity.CorpPermitUser;

import java.util.List;

/**
 * 开通会话存档员工信息(CorpPermitUser)表数据库访问层
 *
 * @author danmo
 * @since 2024-03-04 11:15:04
 */
@Repository()
@Mapper
public interface CorpPermitUserMapper extends BaseMapper<CorpPermitUser> {

    List<ChatMsgUserListVo> getUserMsgList(ChatMsgListQuery query);

    List<CorpPermitUser> getList(CorpPermitUserQuery query);
}

